package com.deli.task.service;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

/**
 * @Auther: xudeli
 * @Date: 2018/9/28/028 36
 * @Description:
 */
@Service
public class ScheduleService {

    //@Scheduled(cron = "0 * * * * MON-FRI")
    //@Scheduled(cron = "0,1,2,3,4 * * * * MON-FRI")
    @Scheduled(cron = "0-4 * * * * MON-FRI")
    public void hello() {

        System.out.println("hello----");
    }
}
